package com.neulogistics.core.substation.api.application.query;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.neulogistics.core.substation.api.application.viewmodel.SubstationTreeViewModel;
import com.neulogistics.core.substation.api.application.viewmodel.SubstationViewModel;
import com.neulogistics.core.substation.domain.model.aggregate.Substation;

import java.util.List;

public interface ISubstationQueryService {
    SubstationViewModel getById(Integer id);

    Page<SubstationViewModel> page(SubstationQuery substationQuery);

    List<SubstationTreeViewModel> list();

    Substation getSubstationByWarehouseId(Integer warehouseId);
}
